#ifndef BATCHCHECKOUTRESPONSEMODEL_H
#define BATCHCHECKOUTRESPONSEMODEL_H
#include "JsonSerializable.h"

namespace MesModel
{

class BatchCheckOutResponsePcuInfo;

class BatchCheckOutResponseModel: public JsonSerializable
{
public:
    BatchCheckOutResponseModel() = default;
    BatchCheckOutResponseModel(QString factoryNo,QString transId,QDateTime eventTime,QString resultCode,QList<BatchCheckOutResponsePcuInfo> pcuInfo);
    void fromJson(const QJsonObject &json)override;
    QJsonObject toJson() const override;
public:
    QString factoryNo;
    QString transId;
    QDateTime eventTime;
    QString resultCode;
    QList<BatchCheckOutResponsePcuInfo> pcuInfo;

};


class BatchCheckOutResponsePcuInfo: public JsonSerializable
{
public:
    BatchCheckOutResponsePcuInfo() = default;
    BatchCheckOutResponsePcuInfo(QString locationNo,QString pcu,QString resultMsg);
    void fromJson(const QJsonObject &json)override;
    QJsonObject toJson() const override;
public:
    QString locationNo;
    QString pcu;
    QString resultMsg;




};
}
#endif // BATCHCHECKOUTRESPONSEMODEL_H
